using System;

namespace Shape
{
    class Circle : IShape
    {
        private double radius;

        public Circle(double radius)
        {
            this.radius = radius;
        }

        public override string ToString()
        {
            return $"Circle-> radius:{radius}";
        }

        public double Area()
        {
            return Math.PI * this.radius * this.radius;
        }

        public double Perimeter()
        {
            return 2 * Math.PI * this.radius;
        }
    }
}